
<%@page import="java.util.Iterator"%>
<%@page import="java.util.Map"%>
<%@page contentType="text/html" isErrorPage="true" pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>Sistema Comercial Moctezuma</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <link rel="shortcut icon" href="http://www.cmoctezuma.com.mx/favicon.ico" >
        <link rel="stylesheet" type="text/css" href="http://www.cmoctezuma.com.mx/scm_e/css/generico.css">
        <link rel="stylesheet" type="text/css" href="css/jscal2.css">

        <script type="text/javascript" src="js/generico.js"></script>
        <script type="text/javascript" src="js/jquery-1.9.1.js"></script>
        <script type="text/javascript" src="js/jscal2.js"></script>
        <script type="text/javascript" src="js/lang/es.js"></script>
    </head>
    <body>
        <!-- Empieza el layout principal -->
        <div id="layout">
            <jsp:include page="/jsp/indice/cabecera.jsp"></jsp:include>
                <!-- Empieza el contenido -->
                <div id="contenido">
                    <div id="izquierda">
                        <ul id='lista_izq'>
                            <li onclick="charge('#centro', 'front?v=3&ac=4');">&nbsp;Pagos en Linea</li>
                            <li onclick="charge('#centro', 'front?v=4&ac=4');">&nbsp;Revisi&oacute;n e historial de movimientos</li>
                        </ul>
                    </div>
                    <div id="centro">
                        <br/><br/>
                        <strong>Error 503 <br/>Fecha Error:</strong> 
                    <%
                        java.util.Date now = new java.util.Date();
                        java.text.DateFormat df3 = new java.text.SimpleDateFormat("dd-MMM-yyyy HH:mm:ss");
                        String s3 = df3.format(now);
                        out.println(s3);
                    %>
                    <br/>
                    <strong>Parametros</strong>
                    <table cellpadding='0' cellspacing='0' border="1">
                        <tr>
                            <th>
                                Campo
                            </th>
                            <th>
                                Valor
                            </th>
                        </tr>
                        <%
                            Map params = request.getParameterMap();
                            Iterator i = params.keySet().iterator();

                            while (i.hasNext()) {
                                String key = (String) i.next();
                                out.println("<tr>");
                                out.println("<td> " + key + "</td>");
                                String valor = ((String[]) params.get(key))[0];
                                out.println("<td> " + valor + "</td>");
                                out.println("</tr>");
                            }
                        %>
                    </table>
                </div>
            </div>
            <!-- Termina el contenido -->
            <jsp:include page="/jsp/indice/pie.jsp"></jsp:include>
        </div>
        <!-- Termina el layout principal -->
    </body>
</html>